<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="public.jsp"%>
<jsp:include page="publishCssAndJS.jsp" flush="true"></jsp:include>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>批量导入信息&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script type="text/javascript">
		function init(){
		
			var processId = document.getElementById("processId").value;
			if(processId=='3'){
				document.getElementById("standardMsg").style.display = 'none';
				document.getElementById("repeatMsg").style.display = 'block';
			}else{
				document.getElementById("standardMsg").style.display = 'block';
				document.getElementById("repeatMsg").style.display = 'none';
			}
		}
	</script>
	
  </head>
  
  <body >
  		<input type="hidden" id="processId" value="<s:property value="processId"/>">
  		<table width="100%;" height="98%;" align="center">
  			<thead>
			<tr class="add_title" style="background-color: white;height: 20px;">
				<td align="center" valign="top">批量导入信息提示</td>
			</tr>
			</thead>
			<tbody >
  			<tr >
  				<td valign="top">
					<div id="standardMsg" style="display: block;"> 
						<s:property value="msg" escape="false"/>
					</div>
  				</td>
  			</tr>
  			<s:if test="data.size()>0">
  			<tr >
  				<td valign="top" align="left">
					以下提交成果信息出现重复
  				</td>
  			</tr>
  			<tr>
  				<td align="right">
					<div id="repeatMsg" style="display: block;" align="center">
						<table cellspacing="1" class="dataTableStyle" width="100%;" align="center">
							<tr style="background-color: #A0C6E5;height: 20px;">
								<th align="center">行号</th>
								<s:iterator value="formMap.vMap">
									<th align="center"><s:property value="key"/></th>
								</s:iterator>
								<th align="center">提示信息</th>
							</tr>
							<s:iterator value="data" status="sts" var="d">
								
									<tr class="<s:if test="#sts.odd">data_tr_bgcs1</s:if><s:else>data_tr_bgcs2</s:else>" style="height: 18px;">
								<%-- 
									<tr class="data_tr_bgcs2" style="height: 18px;">
								<td align="center">
								<s:property value="#sts.index+1"/></td>
								--%>
								<s:iterator value="formMap.vMap" var="k" status="r">
									<s:if test="#r.first">
										<td align="center"><s:property value="#d[key].row"/></td>
									</s:if>
									<td align="center"><s:property value="#d[key].content"/> </td>
									<s:if test="#r.last">
										<td align="center" style="color: red;"><s:property value="#d.excelIndexMsg.content"/></td>
									</s:if>
								</s:iterator>
								</tr>
							</s:iterator>
						</table>
					</div>
  				</td>
  			</tr>
  			<tr>
  				<td>&nbsp; </td>
  			</tr>
  			<tr>
  				<td>
  				该类型成果记录判定是否重复的标准为: <s:property value="formMap.repeatKey"/>是否相同,本次提交的所有数据均未导入,请修改后重新提交！
  				</td>
  			</tr>
  			<tr>
  				<td>&nbsp; </td>
  			</tr>
  			</s:if>
  			<s:else>
  				<tr >
	  				<td >
							本次提交的所有数据均未导入，请修改后重新提交！
	  				</td>
  				</tr>
  			</s:else>
			</tbody>
			<tfoot>
			<tr class="add_title" style="background-color: white;">
				<td align="center">
					<input type="button" onclick="window.close();" value="&nbsp;确&nbsp;&nbsp;定&nbsp;" class='model_buttonInput'>
			    </td>
			</tr>
			</tfoot>
  		</table>
  </body>
</html>
